package game.view.menu
{
	import flash.display.Sprite;
	import flash.text.TextField;
	
	import game.common.CustomBitmap;
	import game.managers.LanguageManager;
	import game.utils.Utils;
	/**
	 * 配餐
	 * */
	public class CateringType extends Sprite
	{
		private var _bg:CustomBitmap;
		private var _lineBg:CustomBitmap;
		private var _topTips:TextField;
		
		public function CateringType()
		{
			init();
		}
		
		private function init():void
		{
			_bg=new CustomBitmap();
			_bg.source="tabBg";
			_bg.width=450;
			_bg.height=280;
			addChild(_bg);
			
			_lineBg=new CustomBitmap();
			_lineBg.source="lineBg";
			_lineBg.x=_bg.x + 10;
			_lineBg.y=_bg.y + 10;
			addChild(_lineBg);
			
			_topTips=Utils.getTextField(LanguageManager.getWord("menu.toptips3"),12);
			_topTips.width=_topTips.textWidth + 5;
			_topTips.height=_topTips.textHeight + 5;
			_topTips.x=_lineBg.x + 25;
			_topTips.y=_lineBg.y + 2;
			addChild(_topTips);
		}
	}
}